package main

import (
	"fmt"
	"reflect"
)

func main() {

	a := make(map[string]interface{})
	b := make(map[string]interface{})
	a["name"] = "zhanglin"
	b["name"] = "zhanglin"

	fmt.Println(reflect.DeepEqual(a, b)) // true
	//fmt.Println(a == b)		会报错：(map can only be compared to nil)
}
